  /* 设置棋盘的样式 */
  html{
    overflow: hidden;
}
body {
    margin: 0;
    width: 100%;
    height: 100%;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

.board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    width: 320px;
}

.cell {
    width: 100px;
    height: 100px;
    border: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    cursor: pointer;
}

.winner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.winner-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.winner-message {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}
.ui{
    position: absolute;
    width: 100%;
    height: 10vh;
    margin-left:4%;
}
.player-turn{
   
    width: 100%;
  
    
}
.steps {
    font-weight: bold;
}
.game-title{
  
    text-align: center;
}
